#import "AMapFlutterLocationPlugin.h"



@implementation AMapFlutterLocationPlugin

+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
    FlutterMethodChannel* channel = [FlutterMethodChannel
                                     methodChannelWithName:@"amap_flutter_location"
                                     binaryMessenger:[registrar messenger]];
    AMapFlutterLocationPlugin* instance = [[AMapFlutterLocationPlugin alloc] init];
    [registrar addMethodCallDelegate:instance channel:channel];
    
    //AMapFlutterStreamHandler * streamHandler = [[AMapFlutterStreamHandler alloc] init];
//    FlutterEventChannel *eventChanel = [FlutterEventChannel eventChannelWithName:@"amap_flutter_location_stream" binaryMessenger:[registrar messenger]];
//    [eventChanel setStreamHandler:[[AMapFlutterStreamManager sharedInstance] streamHandler]];
        
}
@end
